package com.edt.ichannel.rabbitmq.receiver;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class RabbitMqReceiver {

    @RabbitListener(queues = "hello")
    public void processC(String message) {
        System.out.println("--------------------Receive:"+ message);
    }
}
